package model

import (
	"gforum/global"

)

var allModels = []any{
	&User{},
	&Post{},
	&Comment{},
	&Like{},
	&CheckIn{},
}

func MigrateAll() error {
	return global.Db.AutoMigrate(allModels...)
}
